<?php

namespace app\api\controller;

use app\common\controller\UnLogin;

class Xy extends UnLogin {

	/*
		隐私协议：ys_xy
		关于我们：about_us
		帮助中心：help_center
		注册协议：reg_xy
		服务协议：service_xy
		用户协议：user_xy
	*/
	public function xy() {
		$xy_name  = P('xy_name')?:'ys_xy';
		if(empty($xy_name)){
			$this->retData(1,'无协议名称');
		}
		$data   = C($xy_name);
		$this->retData(0,'success',$data);
	}
}